<?php

namespace Home\Controller;

use Think\Controller;


class StyleController extends LoginBaseController {
	

	public function addStyle() {
		$this->assign('page_name',	'新增Style信息');
		$this->display('style/addstyle');
		
	}
	public function styleInfo() {
		$this->assign('page_name',	'Style信息列表');
		$this->display('style/styleinfo');
	
	}
	public function detailStyle() {
	
		$style_id = I('style_id');
		$style_en =M('style')->where("style_id='%s'",$style_id)->find();
		$this->assign("style_en",$style_en);
		$this->assign('page_name',	'编辑Style信息');
		$this->display('style/detailstyle');
	
	}
	
	
	
	
}